package com.glela.serial.mapper;

import com.glela.serial.model.TitleDiscoveryImage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TitleDiscoveryImageMapper  {
    int deleteByPrimaryKey(Long id);

    int insert(TitleDiscoveryImage record);

    int insertSelective(TitleDiscoveryImage record);

    TitleDiscoveryImage selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TitleDiscoveryImage record);

    int updateByPrimaryKey(TitleDiscoveryImage record);

    List<TitleDiscoveryImage> selectLikeAll(TitleDiscoveryImage vo);

    Integer selectLikeAllCount(TitleDiscoveryImage vo);

    List<TitleDiscoveryImage> selectAll(TitleDiscoveryImage vo);

    Integer selectAllCount(TitleDiscoveryImage vo);

    List<TitleDiscoveryImage> selectAllBatch(@Param("titleIds")List<Integer> titleIds);
}